package com.ruoyi.finance.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 行业分类对象 industry
 *
 * @author ruoyi
 * @date 2025-02-24
 */
@TableName("industry")
@Data
public class Industry
{
    private static final long serialVersionUID = 1L;

    /** 行业ID */
    @TableId
    private Long industryId;

    /** 行业名称 */
    @Excel(name = "行业名称")
    @NotBlank(message = "行业名称不能为空")
    private String industryName;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** 创建者 */

    @TableField(fill = FieldFill.INSERT)
    private String createBy;


}
